Skip to content

Use size_t to store heaps count #19482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexandre-daubois
Copy link
Member

After #19447 (comment)

I chose size_t over other alternatives because spl_heap_elem() already uses size_t for its index param, and heap's max size also uses this type.

@alexandre-daubois alexandre-daubois marked this pull request as ready for review August 14, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants